﻿#include <QtWidgets/QApplication>
#include <QMessageBox>

#include "systemmainwid.h"
#include "log/log.h"
#include "cfgjsonrw.h"
#include "../component/componentmanager.h"

int main(int argc, char* argv[])
{
    QApplication app(argc, argv);
    Logger::GetInstance()->Init();
    LOG_ERROR("common", "---------------SystemSetting Start----------------------");
	cfgrw->Init();
	component->InitForSystemSetting();
    SystemMainWid w;
    w.show();

    return app.exec();
}
